// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
// BBCode tags example
// http://en.wikipedia.org/wiki/Bbcode
// ----------------------------------------------------------------------------
// Feel free to add more tags
// ----------------------------------------------------------------------------
mySettings = {
	previewParserPath:	'', // path to your BBCode parser
	markupSet: [
		{name:'Random number', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random number with max value', openWith:'{randomNumber:max}', closeWith:'' },
				{name:'Random point number with max values', openWith:'{randomPointNumber:max,points}', closeWith:'' },
				{name:'Random zero point number with max values', openWith:'{randomZeroPointNumber:points}', closeWith:'' },
				{name:'Random number with fixed length', openWith:'{randomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Even random number with max value', openWith:'{evenRandomNumber:max}', closeWith:'' },
				{name:'Even random number with fixed length', openWith:'{evenRandomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Odd random number with max value', openWith:'', closeWith:'{oddRandomNumber:max}' },
				{name:'Odd random number with fixed length', openWith:'{oddRandomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Random number between two values', openWith:'{randomNumberRange:min,max}', closeWith:'' },
				{name:'Negative random number with max value', openWith:'{negativeRandomNumber:max}', closeWith:'' },
				{name:'Negative random number with fixed length', openWith:'{negativeRandomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Negative even random number with max value', openWith:'{negativeEvenRandomNumber:max}', closeWith:'' },
				{name:'Negative even random number with fixed length', openWith:'{negativeEvenRandomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Negative odd random number with max value', openWith:'{negativeOddRandomNumber:max}', closeWith:'' },
				{name:'Negative odd random number with fixed length', openWith:'{negativeOddRandomNumberWithFixedlength:length}', closeWith:'' },
				{name:'Negative random number between two values', openWith:'{negativeRandomNumberRange:min,max}', closeWith:'' }
			]
		},
		{name:'Random number repeat', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random number with max value, n times repeated', openWith:'{randomNumber:max,times}', closeWith:'' },
				{name:'Random point number with max values, n times repeated', openWith:'{randomPointNumber:max,points,times}', closeWith:'' },
				{name:'Random zero point number with max values, n times repeated', openWith:'{randomZeroPointNumber:points,times}', closeWith:'' },
				{name:'Random number with fixed length, n times repeated', openWith:'{randomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Even random number with max value, n times repeated', openWith:'{evenRandomNumber:max,times}', closeWith:'' },
				{name:'Even random number with fixed length, n times repeated', openWith:'{evenRandomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Odd random number with max value, n times repeated', openWith:'', closeWith:'{oddRandomNumber:max,times}' },
				{name:'Odd random number with fixed length, n times repeated', openWith:'{oddRandomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Random number between two values, n times repeated', openWith:'{randomNumberRange:min,max,times}', closeWith:'' },
				{name:'Negative random number with max value, n times repeated', openWith:'{negativeRandomNumber:max,times}', closeWith:'' },
				{name:'Negative random number with fixed length, n times repeated', openWith:'{negativeRandomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Negative even random number with max value, n times repeated', openWith:'{negativeEvenRandomNumber:max,times}', closeWith:'' },
				{name:'Negative even random number with fixed length, n times repeated', openWith:'{negativeEvenRandomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Negative odd random number with max value, n times repeated', openWith:'{negativeOddRandomNumber:max,times}', closeWith:'' },
				{name:'Negative odd random number with fixed length, n times repeated', openWith:'{negativeOddRandomNumberWithFixedlength:length,times}', closeWith:'' },
				{name:'Negative random number between two values, n times repeated', openWith:'{negativeRandomNumberRange:min,max,times}', closeWith:'' }
			]
		},
		{name:'Random string', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random string with fixed length', openWith:'{randomString:length}', closeWith:'' },
				{name:'Random upper case string with fixed length', openWith:'{randomStringUpper:length}', closeWith:'' },
				{name:'Random lower case string with fixed length', openWith:'{randomStringLower:length}', closeWith:'' },
				{name:'Random string with numbers and fixed length', openWith:'{randomNumberString:length}', closeWith:'' },
				{name:'Random upper case string with numbers and fixed length', openWith:'{randomNumberStringUpper:length}', closeWith:'' },
				{name:'Random lower case string with numbers and fixed length', openWith:'{randomNumberStringLower:length}', closeWith:'' },
				{name:'Random string with variable length', openWith:'{randomStringRange:min,max}', closeWith:'' },
				{name:'Random upper case string with variable length', openWith:'{randomStringRangeUpper:min,max}', closeWith:'' },
				{name:'Random lower case string with variable length', openWith:'{randomStringRangeLower:min,max}', closeWith:'' },
				{name:'Random string with numbers and variable length', openWith:'{randomNumberStringRange:min,max}', closeWith:'' },
				{name:'Random upper case string with numbers and variable length', openWith:'{randomNumberStringRangeUpper:min,max}', closeWith:'' },
				{name:'Random lower case string with numbers and variable length', openWith:'{randomNumberStringRangeLower:min,max}', closeWith:'' },
				{name:'Generated random words with specified length', openWith:'{randomWords:number,min length,max length}', closeWith:'' },
				{name:'Generated random upper case words with specified length', openWith:'{randomWordsUpper:number,min length,max length}', closeWith:'' },
				{name:'Generated random lower case words with specified length', openWith:'{randomWordsLower:number,min length,max length}', closeWith:'' }
			]
		},
		{name:'Random string repeat', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random string with fixed length, n times repeated', openWith:'{randomString:length,times}', closeWith:'' },
				{name:'Random upper case string with fixed length, n times repeated', openWith:'{randomStringUpper:length,times}', closeWith:'' },
				{name:'Random lower case string with fixed length, n times repeated', openWith:'{randomStringLower:length,times}', closeWith:'' },
				{name:'Random string with numbers and fixed length, n times repeated', openWith:'{randomNumberString:length,times}', closeWith:'' },
				{name:'Random upper case string with numbers and fixed length, n times repeated', openWith:'{randomNumberStringUpper:length,times}', closeWith:'' },
				{name:'Random lower case string with numbers and fixed length, n times repeated', openWith:'{randomNumberStringLower:length,times}', closeWith:'' },
				{name:'Random string with variable length, n times repeated', openWith:'{randomStringRange:min,max,times}', closeWith:'' },
				{name:'Random upper case string with variable length, n times repeated', openWith:'{randomStringRangeUpper:min,max,times}', closeWith:'' },
				{name:'Random lower case string with variable length, n times repeated', openWith:'{randomStringRangeLower:min,max,times}', closeWith:'' },
				{name:'Random string with numbers and variable length, n times repeated', openWith:'{randomNumberStringRange:min,max,times}', closeWith:'' },
				{name:'Random upper case string with numbers and variable length, n times repeated', openWith:'{randomNumberStringRangeUpper:min,max,times}', closeWith:'' },
				{name:'Random lower case string with numbers and variable length, n times repeated', openWith:'{randomNumberStringRangeLower:min,max,times}', closeWith:'' },
				{name:'Generated random words with specified length, n times repeated', openWith:'{randomWords:number,min length,max length,times}', closeWith:'' },
				{name:'Generated random upper case words with specified length, n times repeated', openWith:'{randomWordsUpper:number,min length,max length,times}', closeWith:'' },
				{name:'Generated random lower case words with specified length, n times repeated', openWith:'{randomWordsLower:number,min length,max length,times}', closeWith:'' }
			]
		},
		{name:'Shuffle string', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Shuffle string', openWith:'{shuffleString:(one;two;three)}', closeWith:'' },
				{name:'Shuffle string with probability', openWith:'{shuffleStringProb:(one;prob)(two;prob)(three;prob)}', closeWith:'' },
				{name:'Shuffle string, n times repeated', openWith:'{shuffleString:(one;two;three),times}', closeWith:'' },
				{name:'Shuffle string with probability, n times repeated', openWith:'{shuffleStringProb:(one;prob)(two;prob)(three;prob),times}', closeWith:'' }
			]
		},
		{name:'Repeat', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Repeats given value n times', openWith:'{repeat:(one;times)(two;times)(three;times)}', closeWith:'' },
			]
		},
		{name:'Random name', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random firstname', openWith:'{randomFirstname:}', closeWith:'' },
				{name:'Random male firstname', openWith:'{randomFristnameMale:}', closeWith:'' },
				{name:'Random female firstname', openWith:'{randomFirstnameFemale:}', closeWith:'' },
				{name:'Random lastname', openWith:'{randomLastname:}', closeWith:'' },
				{name:'Random name', openWith:'{randomName:}', closeWith:'' },
				{name:'Random name with male firstname', openWith:'{randomNameMale:}', closeWith:'' },
				{name:'Random name with female firstname', openWith:'{randomNameFemale:}', closeWith:'' }
			]
		},
		{name:'Random name repeat', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random firstname, n times repeated', openWith:'{randomFirstname:times}', closeWith:'' },
				{name:'Random male firstname, n times repeated', openWith:'{randomFristnameMale:times}', closeWith:'' },
				{name:'Random female firstname, n times repeated', openWith:'{randomFirstnameFemale:times}', closeWith:'' },
				{name:'Random lastname, n times repeated', openWith:'{randomLastname:times}', closeWith:'' },
				{name:'Random name, n times repeated', openWith:'{randomName:times}', closeWith:'' },
				{name:'Random name with male firstname, n times repeated', openWith:'{randomNameMale:times}', closeWith:'' },
				{name:'Random name with female firstname, n times repeated', openWith:'{randomNameFemale:times}', closeWith:'' }
			]
		},
		{name:'Increment number', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Increments a number', openWith:'{incrementNumber:start,step,resetafter,uniqueid}', closeWith:'' },
				{name:'Increments a random number', openWith:'{randomIncrementNumber:step,min,max}', closeWith:'' },
			]
		},
		{name:'Random telephone number', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random telephone number', openWith:'{telephoneNumberCountry:domain}', closeWith:'' },
				{name:'Random telephone number, n times repeated', openWith:'{telephoneNumberCountry:domain,times}', closeWith:'' },
			]
		},
		{name:'Random email', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random email address', openWith:'{randomEMail:domain}', closeWith:'' },
				{name:'Random email address with name', openWith:'{randomEMailName:domain}', closeWith:'' },
				{name:'Random email address with lastname', openWith:'{randomEMailLastname:domain}', closeWith:'' },
				{name:'Random email address, n times repeated', openWith:'{randomEMail:domain,times}', closeWith:'' },
				{name:'Random email address with name, n times repeated', openWith:'{randomEMailName:domain,times}', closeWith:'' },
				{name:'Random email address with lastname, n times repeated', openWith:'{randomEMailLastname:domain,times}', closeWith:'' },
			]
		},
		{name:'Random date', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random date with given layout', openWith:'{randomDate:format}', closeWith:'' },
				{name:'Random date with given layout which is smaller as the given', openWith:'{randomDateSmallerAs:day,month,year,format}', closeWith:'' },
				{name:'Random date with given layout which is bigger as the given', openWith:'{randomDateBiggerAs:day,month,year,format}', closeWith:'' },
				{name:'Random date with given layout. The date is between the two given', openWith:'{randomDateRange:fromDay,fromMonth,fromYear,untilDay,untilMonth,untilYear,format}', closeWith:'' },
				{name:'Random date and time with preconfigured layout', openWith:'{randomDateTime:format}', closeWith:'' },
				{name:'Random date and time with preconfigured layout which is smaller as the given', openWith:'{randomDateTimeSmallerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with preconfigured layout which is bigger as the given', openWith:'{randomDateTimeBiggerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with preconfigured layout, between the two given', openWith:'{randomDateTimeRange:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond,format}', closeWith:'' },
				{name:'Random date and time with given layout', openWith:'{randomDateTimeLayout:format}', closeWith:'' },
				{name:'Random date and time with given layout which is smaller as the given', openWith:'{randomDateTimeLayoutSmallerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with given layout which is bigger as the given', openWith:'{randomDateTimeLayoutBiggerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with given layout, between the two given', openWith:'{randomDateTimeRangeLayout:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond,format}', closeWith:'' },
				{name:'Random unix timestamp', openWith:'{randomUnixTimestamp:}', closeWith:'' },
				{name:'Random unix timestamp. Result is smaller as the given datetime', openWith:'{randomUnixTimestampSmallerAs:day,month,year,hour,minute,second}', closeWith:'' },
				{name:'Random unix timestamp which is bigger as the given datetime', openWith:'{randomUnixTimestampBiggerAs:day,month,year,hour,minute,second}', closeWith:'' },
				{name:'Random unix timestamp, between the two given date times', openWith:'{randomUnixTimestampRange:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond}', closeWith:'' },
			]
		},
		{name:'Random date repeated', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Random date with given layout', openWith:'{randomDate:format,times}', closeWith:'' },
				{name:'Random date with given layout which is smaller as the given', openWith:'{randomDateSmallerAs:day,month,year,format,times}', closeWith:'' },
				{name:'Random date with given layout which is bigger as the given', openWith:'{randomDateBiggerAs:day,month,year,format,times}', closeWith:'' },
				{name:'Random date with given layout. The date is between the two given', openWith:'{randomDateRange:fromDay,fromMonth,fromYear,untilDay,untilMonth,untilYear,format,times}', closeWith:'' },
				{name:'Random date and time with preconfigured layout', openWith:'{randomDateTime:format,times}', closeWith:'' },
				{name:'Random date and time with preconfigured layout which is smaller as the given', openWith:'{randomDateTimeSmallerAs:day,month,year,hour,minute,second,format,times}', closeWith:'' },
				{name:'Random date and time with preconfigured layout which is bigger as the given', openWith:'{randomDateTimeBiggerAs:day,month,year,hour,minute,second,format,times}', closeWith:'' },
				{name:'Random date and time with preconfigured layout, between the two given', openWith:'{randomDateTimeRange:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond,format,times}', closeWith:'' },
				{name:'Random date and time with given layout', openWith:'{randomDateTimeLayout:format}', closeWith:'' },
				{name:'Random date and time with given layout which is smaller as the given', openWith:'{randomDateTimeLayoutSmallerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with given layout which is bigger as the given', openWith:'{randomDateTimeLayoutBiggerAs:day,month,year,hour,minute,second,format}', closeWith:'' },
				{name:'Random date and time with given layout, between the two given', openWith:'{randomDateTimeRangeLayout:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond,format}', closeWith:'' },
				{name:'Random unix timestamp', openWith:'{randomUnixTimestamp:times}', closeWith:'' },
				{name:'Random unix timestamp. Result is smaller as the given datetime', openWith:'{randomUnixTimestampSmallerAs:day,month,year,hour,minute,second}', closeWith:'' },
				{name:'Random unix timestamp. Result is smaller as the given datetime', openWith:'{randomUnixTimestampBiggerAs:day,month,year,hour,minute,second,times}', closeWith:'' },
				{name:'Random unix timestamp, between the two given date times', openWith:'{randomUnixTimestampRange:fromDay,fromMonth,fromYear,fromHour,fromMinute,fromSecond,untilDay,untilMonth,untilYear,untilHour,untilMinute,untilSecond,times}', closeWith:'' },
			]
		},
		{name:'Actual date', key:'', openWith:'', closeWith:'',
			dropMenu :[
				{name:'Actual date with preconfigured layout', openWith:'{actualDate:format,dayOffset}', closeWith:'' },
				{name:'Actual date and time preconfigured given layout', openWith:'{actualDateTime:format,dayOffset,hourOffset}', closeWith:'' },
				{name:'Actual date and time with given layout', openWith:'{actualDateTimeLayout:format,dayOffset,hourOffset}', closeWith:'' },
				{name:'Actual unix timestamp', openWith:'{actualUnixTimestamp:dayOffset,hourOffset}', closeWith:'' },
				{name:'Actual date with preconfigured layout, n times repeated', openWith:'{actualDate:format,dayOffset}', closeWith:'' },
				{name:'Actual date and time with preconfigured layout, n times repeated', openWith:'{actualDateTime:format,dayOffset,hourOffset,times}', closeWith:'' },
				{name:'Actual date and time with given layout, n times repeated', openWith:'{actualDateTimeLayout:format,dayOffset,hourOffset,times}', closeWith:'' },
				{name:'Actual unix timestamp, n times repeated', openWith:'{actualUnixTimestamp:dayOffset,hourOffset,times}', closeWith:'' },
			]
		},
	]
}